package com.yaoxw.iask.web;

import com.yaoxw.iask.persist.entity.UserInfo;
import com.yaoxw.iask.service.UserInfoService;
import com.yaoxw.iask.service.impl.UserInfoServiceImpl;

public class UserInfoController {
	private UserInfoService userInfoService = new UserInfoServiceImpl();

	public String queryByUserId(Integer uid) {
		UserInfo userInfo = userInfoService.getById(uid);
		System.out.println(userInfo);
		return "userView";
	}

}
